<?php /* Smarty version Smarty-3.0.7, created on 2017-06-01 11:42:32
         compiled from "C:\wamp\www\ord.xhs1985.com/modules/admin/tpl/login.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11423592f8d286f8c54-91807735%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2365b7dbf6ecc29b8c022477ed07d1375b65512d' => 
    array (
      0 => 'C:\\wamp\\www\\ord.xhs1985.com/modules/admin/tpl/login.tpl',
      1 => 1495847667,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11423592f8d286f8c54-91807735',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>管理员登录</title>
    <script type="text/javascript">
        if (top.location.href != location.href) {
            location.replace(location.href);
        }
    </script>
    <script charset="utf-8" src="/admin/js/jquery.min.js" type="text/javascript"></script>
    <!-- Bootstrap -->
    <link href="/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="/admin/css/signin.css" rel="stylesheet">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
        th { font-size: 14px; }
    </style>
</head>
<body>
<div class="container">
    <form class="form-signin" role="form" action="/admin/auth/login" method="post" id="form-login">
        <h2 class="form-signin-heading">后台登录</h2>
        <input name="username" type="text" class="form-control" placeholder="请输入账号" required autofocus>
        <input name="password" type="password" class="form-control" placeholder="请输入密码" required>
        <div class="form-group">
            <div style="width: 60%;display: inline-block; vertical-align: top;"><input name="check_code" type="text" class="form-control" placeholder="请输入验证码" required></div>
            <div style="width: 38%;display: inline-block; vertical-aligntop;"><img style="width: 100%;vertical-align: bottom;margin-top: 2px;" href="javascript:;" src="/public/authCode" name="imgCode" align="middle" id="imgCode"/></div>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    </form>
</div>
<!-- /container -->
<script type="text/javascript">
    $(function () {
        $('#login-form').submit(function () {
            $('#form-login').ajaxSubmit({
                dataType: 'json',
                data: { in_ajax: 1 },
                success: function (retData) {
                    $('#result-count').html(retData.count);
                },
                error: function () {
                    alert('发生错误。');
                }
            });
            return false;
        });
    });
</script>
</body>
</html>